package com.ssr.master.common.exception;

/**
 * @author ZhangPeng
 * @Description //todo
 * @date
 * @updateBy
 * @other
 **/

public class RegisterException extends Exception {
    static final long serialVersionUID = -3387516993124229948L;


    private String code;
    private String message;

    private RegisterException() {
        super();
    }

    public RegisterException(String code, String message) {
        this.code = code;
        this.message = message;
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
